home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Precision Software Appli…tions Silver Collection 3
/
Precision Software Applications Silver Collection Volume Three (PSM) (1993).iso
/
drivers
/
win31sfx.exe
/
INSTDAT.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-08-14
|
5KB
|
127 lines
@echo off
if (%ATI_SND%) == () goto NOSFX
if not exist DAT31.EXE goto NOFILE
goto INST
:NOFILE
cls
echo ┌───────────────────────────────────┐
echo │** Stereo■FX Windows 3.1 Drivers **│
echo └───────────────────────────────────┘
echo ─────────────────
echo ERROR: Can't find DAT31.EXE
echo
echo This file is necessary to install the new WINDAT
echo from the downloaded files. It must exist in the
echo same directory as this INSTDAT batch file. Please
echo copy DAT31.EXE to your current directory and run
echo INSTDAT again.
echo
echo ATI Customer Support (416) 756-0711 9am-5:30pm EST
echo
goto DONE
:NOSFX
cls
echo ┌───────────────────────────────────┐
echo │** Stereo■FX Windows 3.1 Drivers **│
echo └───────────────────────────────────┘
echo ─────────────────
echo ERROR: Can't find ATI_SND in environment!
echo Please add the following line to your AUTOEXEC.BAT:
echo
echo SET ATI_SND=C:\SFX\
echo
echo NOTE: Trailing backslash required.
echo ─────────────────
echo If you have not previously installed the ATI Stereo■F/X
echo software diskettes that came with the card, please do it now.
echo This is necessary for this batch file to function correctly.
echo ───────────────
echo ATI Customer Support (416) 756-0711 9am-5:30pm EST
echo
goto DONE
:INST
cls
echo ┌───────────────────────────────────┐
echo │** Stereo■FX Windows 3.1 WINDAT **│
echo └───────────────────────────────────┘
echo ─────────────────
echo This batch file will conveniently extract this
echo WINDAT program to your "%ATI_SND%WINDAT" directory.
echo
echo ╒═════════════╕
echo │ IMPORTANT!! │
echo ╘═════════════╛
echo Before the files are extracted, all files located
echo in the above directory WILL BE DELETED! If you have
echo other files in this directory that you would like
echo to save, please press CTRL-C now.
echo ─────────────────
echo Press any key to continue the installation of WINDAT
echo or CONTROL-C to abort.
echo
pause >nul
if NOT EXIST %ATI_SND%WINDAT\INSTALL.EXE goto DECOMP
cls
echo ┌───────────────────────────────────┐
echo │** Stereo■FX Windows 3.1 WINDAT **│
echo └───────────────────────────────────┘
echo
echo Ready to delete previous WINDAT files.
echo Answer Yes at the following prompt.
echo
del %ATI_SND%WINDAT\*.*
echo Completed. Press any key to continue.
pause > nul
if exist %ATI_SND%WINDAT\INSTALL.EXE goto ERROR1
:DECOMP
cls
echo ┌───────────────────────────────────┐
echo │** Stereo■FX Windows 3.1 WINDAT **│
echo └───────────────────────────────────┘
echo
echo Decompressing files...
dat31 /e%ATI_SND%WINDAT
if errorlevel == 0 goto OK
goto ERROR
:OK
pause
cls
echo ┌───────────────────────────────────┐
echo │** Stereo■FX Windows 3.1 WINDAT **│
echo └───────────────────────────────────┘
echo
echo The new WINDAT program has been successfully extracted.
echo Please read the READ.ME file located on your Stereo■F/X
echo Windows 3.1 driver diskette for instructions on how to
echo install the new WINDAT into Windows 3.1.
echo
echo ATI Customer Support (416) 756-0711 9am-5:30pm EST
echo
goto DONE
:ERROR1
cls
echo ╒══════════════════════╕
echo │ Installation failed! │
echo ╘══════════════════════╛
echo ───────────────
echo They previous WINDAT files MUST be deleted before installing
echo the new WINDAT. Please re-run INSTDAT.BAT and answer yes when
echo prompted to delete the contents of the WINDAT directory.
echo ───────────────
echo ATI Customer Support (416) 756-0711 9am-5:30pm EST
echo
:ERROR
cls
echo ╒══════════════════════╕
echo │ Installation failed! │
echo ╘══════════════════════╛
echo ───────────────
echo The installation has failed. Please re-run this INSTDAT
echo batch file. If this problem persists, please record
echo any error messages, and contact ATI Customer Support
echo for assistance.
echo ───────────────
echo ATI Customer Support (416) 756-0711 9am-5:30pm EST
echo
:DONE